﻿namespace Traffic.Entity;

/// <summary>
/// 业务订单购买服务明细
/// </summary>
public partial class ScopeOrderListServiceList
{
    public int Id { get; set; }

    /// <summary>
    /// 对应ScopeOrderList.ID
    /// </summary>
    public int OrderId { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 使用日期
    /// </summary>
    public DateTime SetDate { get; set; }

    /// <summary>
    /// 业务ID
    /// </summary>
    public int ScopeGoodsId { get; set; }

    /// <summary>
    /// 业务名称
    /// </summary>
    public string? ScopeGoodsName { get; set; }

    /// <summary>
    /// 对应ScopeExtraService.ID
    /// </summary>
    public int ServiceId { get; set; }

    /// <summary>
    /// 服务名 对应ScopeExtraService.ServiceName
    /// </summary>
    public string ServiceName { get; set; } = null!;

    /// <summary>
    /// 对应ScopeOrderList_Info.ID,整张订单生效则为0
    /// </summary>
    public int InfoId { get; set; }

    /// <summary>
    /// 价格
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    /// 是否已生效 默认1是，否0.生效则不作退款。
    /// </summary>
    public bool Used { get; set; }

    /// <summary>
    /// 后台确认时间
    /// </summary>
    public DateTime? UsedTime { get; set; }

    /// <summary>
    /// 状态  默认1正常  0作废
    /// </summary>
    public bool Status { get; set; }
}
